package decorator.use;

import decorator.nouse.EggNoodles;

public class Main {
    public static void main(String[] args) {
        Noodles noodles = new BeefNoodles();

        AbstractDecorator eggDecorator = new EggDecorator(noodles);
        eggDecorator.show();

        AbstractDecorator tofuDecorator = new TofuDecorator(noodles);
        tofuDecorator.show();

        AbstractDecorator egg_tofuDecorator = new EggDecorator(tofuDecorator);
        egg_tofuDecorator.show();
    }
}
